<extend name="./Application/Home/View/Layout/application.html"/>

<block name="content">
    <div class="all">
        <ul class="menu">
            <li><a href="javascript:void(0);">全部商品</a></li>
            <li><a href="javascript:void(0);" id="list"><i class="fa fa-th"></i></a></li>
        </ul>
    </div>
    <div class="products">
        <volist name="products" id="product">
            <dl>
                <dt><a href="{{:U('show',[id=>$product[id]])}}"><img class="img-responsive"
                                                                     src="{{$product.thumb}}"
                                                                     alt="商品图片" style="width: 152px;height: 92px;"/></a></dt>
                <dd><a href="#">{{$product.name}}</a><span>已售 12</span></dd>
                <dd class="label">库存 {{$product.stock}}</dd>
                <dd>{{$product.price}}</dd>
            </dl>
        </volist>

        <div class="clears"></div>
    </div>
    <div class="perspective">
        <span class="more">查看更多</span>
    </div>
</block>
